/*
 * @file gkt_record_unlock.h
 */

#ifndef GKT_RECORD_UNLOCK_H
#define GKT_RECORD_UNLOCK_H

#include "gkt_date_time.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _gkt_record_unlock_item {
	uint32_t	user_ids[2];
	gkt_date_time_s	dt;
} gkt_record_unlock_item_s;

int gkt_record_unlock_add(uint32_t user_ids[2], uint32_t nums);

uint32_t gkt_record_unlock_get_nums(void);

int gkt_record_unlock_get_item(uint32_t index, 
			gkt_record_unlock_item_s *item);

void gkt_record_unlock_reset(void);

int gkt_record_unlock_init(void);

#ifdef __cplusplus
}
#endif

#endif	/* GKT_RECORD_UNLOCK_H */



